section .data
    hello db 'Hello, World!',0  ; 存储字符串以零结尾

section .text
    global _start

_start:
    ; write系统调用
    ; file descriptor: STDOUT (1)
    ; buffer: address of hello string
    ; length: length of the string
    mov eax, 4
    mov ebx, 1
    mov ecx, hello
    mov edx, 13
    int 0x80  ; 调用Linux内核

    ; exit系统调用
    mov eax, 1
    xor ebx, ebx  ; 返回值为0
    int 0x80
